package com.ruoyi.material.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单位信息对象 unit_info
 * 
 * @author ruoyi
 * @date 2022-08-25
 */
public class UnitInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 单位编号 */
    @Excel(name = "单位编号")
    private String unitNo;

    /** 单位名称 */
    @Excel(name = "单位名称")
    private String unitName;

    /** 辅助单位 */
    @Excel(name = "辅助单位")
    private String auxiliaryUnit;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUnitNo(String unitNo) 
    {
        this.unitNo = unitNo;
    }

    public String getUnitNo() 
    {
        return unitNo;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setAuxiliaryUnit(String auxiliaryUnit) 
    {
        this.auxiliaryUnit = auxiliaryUnit;
    }

    public String getAuxiliaryUnit() 
    {
        return auxiliaryUnit;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("unitNo", getUnitNo())
            .append("unitName", getUnitName())
            .append("auxiliaryUnit", getAuxiliaryUnit())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("comment", getComment())
            .toString();
    }
}
